package com.wt.chat.schedule.processor;

import com.wt.chat.entity.Dialog;
import com.wt.chat.model.KefuModel;

/**
 * @description
 * @author: wangtao
 * @date:15:19 2019/11/19
 * @email:taow02@jumei.com
 */
public class ProcessParameter {

	private Dialog dialog;
	private KefuModel kefu;
	private Throwable error;

	public Dialog getDialog() {
		return dialog;
	}

	public ProcessParameter setDialog(Dialog dialog) {
		this.dialog = dialog;
		return this;
	}

	public KefuModel getKefu() {
		return kefu;
	}

	public ProcessParameter setKefu(KefuModel kefu) {
		this.kefu = kefu;
		return this;
	}

	public Throwable getError() {
		return error;
	}

	public ProcessParameter setError(Throwable error) {
		this.error = error;
		return this;
	}

	public ProcessParameter clear() {
		this.dialog = null;
		this.kefu = null;
		this.error = null;
		return this;
	}
}
